Skip to content

feat(ui): list each work item under its orchestration in the progress panel - #212

Merged
trvon merged 1 commit into
feat/orchestration-item-labelsfrom
feat/orchestration-item-rows
Nov 20, 2026
Merged

trvon merged 1 commit into
feat/orchestration-item-labelsfrom
feat/orchestration-item-rows

Conversation

@trvon

@trvon trvon commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Classification

Feature expectation. The progress panel showed one line per orchestration, so a swarm of eight read as a single counter.

Contract

Progress panel, per orchestration shown (at most two):

◇ #7 1/4 · 1/2 in flight
  ● running 3m · try 2 native-pi
  ✗ failed tls
  ○ p
  ✓ 7m · 162k tok seatbelt
  • Up to five work items, named by label or prompt, ordered in flight, failed or uncertain, pending, complete, cancelled; a … N more line counts the rest.
  • An in-flight row shows the last reported dispatch state, time since it started (or was requested), and the attempt when above one.
  • A finished row shows duration and token count only when the provider reported them.
  • The widget's existing refresh timer repaints each minute while an item is in flight.

Listings (OrchestrationGet, LoopList, /loop): a row ends with verify ok or verify failed (exit N), the reported duration and the token total. Existing fields keep their order.

Invariants

  • Presentation is read-only (property and E1 check the input is unchanged).
  • No liveness claim: rows show the last reported state, and the panel has no spinner.
  • Item names pass through the panel's control-character filter; the hostile-text property now covers labels.
  • No new timer: pending-only and finished batches schedule no repaint (W5 controls).
  • Width and row bounds of the whole panel still hold.

Evidence

Red on unchanged source: R1–R5, the row-accounting property, W5 and E1 all failed (rows absent; expected 2 to be 3 for the repaint; evidence fields absent).

Green: npm run lint (2 warnings, 1 info baseline), npm run typecheck, npm test (1615 passed), npm run build, npm run test:package, npm audit --audit-level=moderate, git diff --check.

Fuzz: FC_NUM_RUNS=10000 over the progress-panel, orchestration-status, orchestration and orchestration-signals property files: 18/18 passed in 34 s. New property: for every shown orchestration, rows listed plus rows withheld equal its work items, and no item row can be read as a workflow's current-state row or a top-level row.

Limitations

  • Not checked in a live TUI session.
  • Token and duration figures appear only after an item settles; neither provider reports usage while a worker runs.
  • No keyboard interaction (select, open, stop) as in the provider's own fleet view.

… panel

The panel showed one line per batch, so a swarm of eight read as a
single counter. It now lists up to five items under each batch, in
flight first and finished last, with a line counting the rest. An
in-flight row shows the last reported dispatch state, elapsed time and
attempt; a finished row shows duration and tokens when the provider
reported them.

Listing rows in OrchestrationGet, LoopList and /loop now end with the
verify result, duration and token total held for the item. The widget's
existing refresh timer repaints each minute while work is in flight.
@trvon
trvon added this pull request to stack #210 November 20, 2026 00:09
@trvon
trvon marked this pull request as ready for review November 20, 2026 03:22
@trvon
trvon merged commit 9fb2a55 into master Nov 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant